Optimal. Leaf size=81 \[ -\frac {7 b^{5/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{9/2}}-\frac {7 b^2}{2 a^4 x}+\frac {7 b}{6 a^3 x^3}-\frac {7}{10 a^2 x^5}+\frac {1}{2 a x^5 \left (a+b x^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {28, 290, 325, 205} \[ -\frac {7 b^2}{2 a^4 x}-\frac {7 b^{5/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{9/2}}+\frac {7 b}{6 a^3 x^3}-\frac {7}{10 a^2 x^5}+\frac {1}{2 a x^5 \left (a+b x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 205
Rule 290
Rule 325
Rubi steps
\begin {align*} \int \frac {1}{x^6 \left (a^2+2 a b x^2+b^2 x^4\right )} \, dx &=b^2 \int \frac {1}{x^6 \left (a b+b^2 x^2\right )^2} \, dx\\ &=\frac {1}{2 a x^5 \left (a+b x^2\right )}+\frac {(7 b) \int \frac {1}{x^6 \left (a b+b^2 x^2\right )} \, dx}{2 a}\\ &=-\frac {7}{10 a^2 x^5}+\frac {1}{2 a x^5 \left (a+b x^2\right )}-\frac {\left (7 b^2\right ) \int \frac {1}{x^4 \left (a b+b^2 x^2\right )} \, dx}{2 a^2}\\ &=-\frac {7}{10 a^2 x^5}+\frac {7 b}{6 a^3 x^3}+\frac {1}{2 a x^5 \left (a+b x^2\right )}+\frac {\left (7 b^3\right ) \int \frac {1}{x^2 \left (a b+b^2 x^2\right )} \, dx}{2 a^3}\\ &=-\frac {7}{10 a^2 x^5}+\frac {7 b}{6 a^3 x^3}-\frac {7 b^2}{2 a^4 x}+\frac {1}{2 a x^5 \left (a+b x^2\right )}-\frac {\left (7 b^4\right ) \int \frac {1}{a b+b^2 x^2} \, dx}{2 a^4}\\ &=-\frac {7}{10 a^2 x^5}+\frac {7 b}{6 a^3 x^3}-\frac {7 b^2}{2 a^4 x}+\frac {1}{2 a x^5 \left (a+b x^2\right )}-\frac {7 b^{5/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 80, normalized size = 0.99 \[ -\frac {7 b^{5/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{9/2}}-\frac {b^3 x}{2 a^4 \left (a+b x^2\right )}-\frac {3 b^2}{a^4 x}+\frac {2 b}{3 a^3 x^3}-\frac {1}{5 a^2 x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.03, size = 198, normalized size = 2.44 \[ \left [-\frac {210 \, b^{3} x^{6} + 140 \, a b^{2} x^{4} - 28 \, a^{2} b x^{2} + 12 \, a^{3} - 105 \, {\left (b^{3} x^{7} + a b^{2} x^{5}\right )} \sqrt {-\frac {b}{a}} \log \left (\frac {b x^{2} - 2 \, a x \sqrt {-\frac {b}{a}} - a}{b x^{2} + a}\right )}{60 \, {\left (a^{4} b x^{7} + a^{5} x^{5}\right )}}, -\frac {105 \, b^{3} x^{6} + 70 \, a b^{2} x^{4} - 14 \, a^{2} b x^{2} + 6 \, a^{3} + 105 \, {\left (b^{3} x^{7} + a b^{2} x^{5}\right )} \sqrt {\frac {b}{a}} \arctan \left (x \sqrt {\frac {b}{a}}\right )}{30 \, {\left (a^{4} b x^{7} + a^{5} x^{5}\right )}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 70, normalized size = 0.86 \[ -\frac {7 \, b^{3} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{4}} - \frac {b^{3} x}{2 \, {\left (b x^{2} + a\right )} a^{4}} - \frac {45 \, b^{2} x^{4} - 10 \, a b x^{2} + 3 \, a^{2}}{15 \, a^{4} x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 70, normalized size = 0.86 \[ -\frac {b^{3} x}{2 \left (b \,x^{2}+a \right ) a^{4}}-\frac {7 b^{3} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \sqrt {a b}\, a^{4}}-\frac {3 b^{2}}{a^{4} x}+\frac {2 b}{3 a^{3} x^{3}}-\frac {1}{5 a^{2} x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 3.08, size = 75, normalized size = 0.93 \[ -\frac {105 \, b^{3} x^{6} + 70 \, a b^{2} x^{4} - 14 \, a^{2} b x^{2} + 6 \, a^{3}}{30 \, {\left (a^{4} b x^{7} + a^{5} x^{5}\right )}} - \frac {7 \, b^{3} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.71, size = 70, normalized size = 0.86 \[ -\frac {\frac {1}{5\,a}-\frac {7\,b\,x^2}{15\,a^2}+\frac {7\,b^2\,x^4}{3\,a^3}+\frac {7\,b^3\,x^6}{2\,a^4}}{b\,x^7+a\,x^5}-\frac {7\,b^{5/2}\,\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )}{2\,a^{9/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.43, size = 126, normalized size = 1.56 \[ \frac {7 \sqrt {- \frac {b^{5}}{a^{9}}} \log {\left (- \frac {a^{5} \sqrt {- \frac {b^{5}}{a^{9}}}}{b^{3}} + x \right )}}{4} - \frac {7 \sqrt {- \frac {b^{5}}{a^{9}}} \log {\left (\frac {a^{5} \sqrt {- \frac {b^{5}}{a^{9}}}}{b^{3}} + x \right )}}{4} + \frac {- 6 a^{3} + 14 a^{2} b x^{2} - 70 a b^{2} x^{4} - 105 b^{3} x^{6}}{30 a^{5} x^{5} + 30 a^{4} b x^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________